package com.mida.dms.knw.entity.vo;

import lombok.Getter;
import lombok.Setter;

/**
 * <h1>本体关系分页</h1>
 * <p>
 *
 * @author jian.li on 2021/3/1 17:13
 */
@Setter
@Getter
public class KnwNoumenonRelationPage extends MapperPage {

    public KnwNoumenonRelationPage(Long pageNo, Long pageSize, String search) {
        if(pageNo<=0) pageNo = 1L;
        super.pageSt = (pageNo-1)*pageSize+1;
        super.search = search;
        super.pageEd = pageNo*pageSize;
    }

    public KnwNoumenonRelationPage(String search) {
        super.search = search;
    }
}
